#include "heater.h"
#include "hal_adc.h"
#include "hal_gpio.h"

#include "gpio.h"

#define R_SAMPLE (0.04f)

/* 打开加热器 */
void open_heater(void)
{
	Gpio_SetIO(HEATER_CTRL_PORT, HEATER_CTRL_PIN);
}

/* 关闭加热器 */
void close_heater(void)
{
	Gpio_ClrIO(HEATER_CTRL_PORT, HEATER_CTRL_PIN);
}
